package com.xidian.GMS.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xidian.GMS.entity.Announcement;

public interface AnnouncementMapper {
    int deleteByPrimaryKey(Integer announcementid);

    int insert(Announcement record);

    int insertSelective(Announcement record);

    Announcement selectByPrimaryKey(Integer announcementid);

    int updateByPrimaryKeySelective(Announcement record);

    int updateByPrimaryKeyWithBLOBs(Announcement record);

    int updateByPrimaryKey(Announcement record);
    int count();
	List<Announcement> findAll(@Param("offset")int offset,@Param("size") int size);
}